package com.ss.android.newmedia.message.dialog;

import android.view.View.OnClickListener;
import android.view.View;
import com.ss.android.newmedia.message.i;
import org.json.JSONObject;

final class z implements View.OnClickListener {
    private final x a;

    z(x arg1) {
        this.a = arg1;

    }

    public final void onClick(View arg10) {
        this.a.dismiss();
        if(this.a.a != null) {
            s v8 = this.a.a;
            try {
                i.a(v8.a, "news_alert_click", ((long)v8.b.i), 1, false, new JSONObject[0]);
                v8.a.startActivity(v8.c);
            }
            catch(Exception v0) {
                v0.printStackTrace();
            }
        }
    }
}

